package goodbaby.dklt.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.classic.core.activity.BaseActivity;

import goodbaby.dklt.R;

/**
 * Created by Jayden on 2016/4/24 15:53.
 *
 * @version V1.0
 * @Title: AboutActivity
 * @Description: 关于页面
 */
public class AboutActivity extends BaseActivity {

    private TextView tvTitle;
    private ImageView ivBack;

    @Override
    public int getLayoutResId() {
        return R.layout.activity_about;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initView() {
        super.initView();
        tvTitle = (TextView) findViewById(R.id.tv_common_title);
        tvTitle.setText("关于");
        ivBack = (ImageView) findViewById(R.id.iv_common_back);
        ivBack.setVisibility(View.VISIBLE);
        ivBack.setOnClickListener(this);
    }

    @Override
    public void viewClick(View v) {
        super.viewClick(v);
        switch (v.getId()) {
            case R.id.iv_common_back:
                finish();
                break;
        }
    }
}
